5 research outputs found

    Towards Text-to-SQL over Aggregate Tables

    Get PDF
    ABSTRACTText-to-SQL aims at translating textual questions into the corresponding SQL queries. Aggregate tables are widely created for high-frequent queries. Although text-to-SQL has emerged as an important task, recent studies paid little attention to the task over aggregate tables. The increased aggregate tables bring two challenges: (1) mapping of natural language questions and relational databases will suffer from more ambiguity, (2) modern models usually adopt self-attention mechanism to encode database schema and question. The mechanism is of quadratic time complexity, which will make inferring more time-consuming as input sequence length grows. In this paper, we introduce a novel approach named WAGG for text-to-SQL over aggregate tables. To effectively select among ambiguous items, we propose a relation selection mechanism for relation computing. To deal with high computation costs, we introduce a dynamical pruning strategy to discard unrelated items that are common for aggregate tables. We also construct a new large-scale dataset SpiderwAGG extended from Spider dataset for validation, where extensive experiments show the effectiveness and efficiency of our proposed method with 4% increase of accuracy and 15% decrease of inference time w.r.t a strong baseline RAT-SQL

    A Study on the Motion of Partial Air Cushion Support Catamaran in Regular Head Waves

    No full text
    In this paper, the motion of partial air cushion support catamaran (PACSCAT) sailing in regular waves was firstly investigated by the experimental method. The monitored histories of heave, pitch, midship acceleration, and air cushion pressure in towing tests are performed to analyze the influence of air cushion on the periodicity feature of hull body motion. Subsequently, using the finite volume method (FVM)-based CFD software Star-ccm, numerical simulations are carried out for the PACSCAT model with a simplification of the air cushion system. The detailed flow information of wave evolution, pressure, and velocity distribution is investigated. The calculated oscillation characteristics of different motion parameters are compared with those from experiment and show good agreement. The numerical method also has good capacity in the prediction of amplitude response of heave and midship acceleration; however, large error is found when calculating resistance and amplitude response of pitch

    Graph matching and deep neural networks based whole heart and great vessel segmentation in congenital heart disease

    No full text
    Abstract Congenital heart disease (CHD) is one of the leading causes of mortality among birth defects, and due to significant variations in the whole heart and great vessel, automatic CHD segmentation using CT images has been always under-researched. Even though some segmentation algorithms have been developed in the literature, none perform very well under the complex structure of CHD. To deal with the challenges, we take advantage of deep learning in processing regular structures and graph algorithms in dealing with large variations and propose a framework combining both the whole heart and great vessel segmentation in complex CHD. We benefit from deep learning in segmenting the four chambers and myocardium based on the blood pool, and then we extract the connection information and apply graph matching to determine the categories of all the vessels. Experimental results on 68 3D CT images covering 14 types of CHD illustrate our framework can increase the Dice score by 12% on average compared with the state-of-the-art whole heart and great vessel segmentation method in normal anatomy. We further introduce two cardiovascular imaging specialists to evaluate our results in the standard of the Van Praagh classification system, and achieves well performance in clinical evaluation. All these results may pave the way for the clinical use of our method in the incoming future

    The risk of acute and early HIV (AEH) infection among MSM with different behaviour trajectories: an open cohort study in Tianjin, China, 2011–2019

    No full text
    Abstract Background Acute and early HIV (AEH) infection is characterized by a high viral load and infectivity. Approximately 50% of cases of HIV-1 transmission occur during AEH. Understanding sexual behaviour trajectories would be useful for predicting changes in the risk of HIV acquisition. However, few studies have investigated sexual behaviour trajectories and their association with AEH acquisition. This study identified behaviour trajectories among men who have sex with men (MSM), determined the risk of AEH infection, and compared risk factors between different behaviour trajectories. Methods The study was based on an ongoing prospective open cohort of voluntary HIV counselling and testing (VHCT) among MSM in Tianjin, China. From 2011 to 2019, 1974 MSM were recruited. Group-based trajectory modelling (GBTM) was used to identify behaviour trajectories by constructing a sexual risk behaviour score. Logistic regression and generalized estimating equation (GEE) were used to compare the risk of AEH infection and risk factors for different behaviour trajectories. All data analyses were performed using SAS 9.4. Results The incidence of AEH infection was 1.76/100 person-years, with 64 AEH infections documented in 3633 person-years of follow-up. Three sexual behaviour trajectories were identified: CL (consistently low risk, 35.46%), CH (consistently high risk, 42.71%) and HTL (high to low risk, 21.83%). MSM in the HTL and CH groups had higher AEH infection rates than MSM in the CL group (6.73%, 3.08% and 1.28%, respectively), with ORs of 5.54 (2.60, 11.82) and 2.44 (1.14, 5.25), respectively. MSM aged 30–50 years old and MSM who underwent HIV testing in the last year were more likely to be in the CH group and HTL group. In addition, the HTL group was characterized by a lower likelihood of local registration and a higher likelihood of working as a MSW. Conclusion MSM in the CH group and the HTL group had a higher risk of AEH infection. In the future, VHCT should be performed more often among younger MSM, and HIV counselling should be given the same priority as HIV testing. In addition, VHCT combined with PrEP may have a better preventive impact on MSM with a high risk of AEH infection
    corecore